package com.gx.base;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


public class CurrentUser implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String userId;

    private String username;

    private String password;

    private String realName;

    private String headUrl;

    private Byte gender;

    private String email;

    private String mobile;

    private Long deptId;

    private Byte superAdmin;

    private Date lastLoginDate;

    private Byte status;

    private String creator;

    private Date createDate;

    private String updater;

    private Date updateDate;

    private List<CurrentMenu> currentMenuList;
    private List<CurrentRole> currentRoleList;


    public CurrentUser() {
    }

    public CurrentUser(Long id, String userId, String username, String password, String realName, String headUrl, Byte gender, String email, String mobile, Byte superAdmin, Byte status, String creator, Date createDate, String updater, Date updateDate) {
        this.id = id;
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.realName = realName;
        this.headUrl = headUrl;
        this.gender = gender;
        this.email = email;
        this.mobile = mobile;
        this.superAdmin = superAdmin;
        this.status = status;
        this.creator = creator;
        this.createDate = createDate;
        this.updater = updater;
        this.updateDate = updateDate;
    }

    public CurrentUser(Long id, String userId, String username, String password, String realName, String headUrl, Byte gender, String email, String mobile, Long deptId, Byte superAdmin, Date lastLoginDate, Byte status, String creator, Date createDate, String updater, Date updateDate, List<CurrentMenu> currentMenuList, List<CurrentRole> currentRoleList) {
        this.id = id;
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.realName = realName;
        this.headUrl = headUrl;
        this.gender = gender;
        this.email = email;
        this.mobile = mobile;
        this.deptId = deptId;
        this.superAdmin = superAdmin;
        this.lastLoginDate = lastLoginDate;
        this.status = status;
        this.creator = creator;
        this.createDate = createDate;
        this.updater = updater;
        this.updateDate = updateDate;
        this.currentMenuList = currentMenuList;
        this.currentRoleList = currentRoleList;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public Byte getGender() {
        return gender;
    }

    public void setGender(Byte gender) {
        this.gender = gender;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Byte getSuperAdmin() {
        return superAdmin;
    }

    public void setSuperAdmin(Byte superAdmin) {
        this.superAdmin = superAdmin;
    }

    public Date getLastLoginDate() {
        return lastLoginDate;
    }

    public void setLastLoginDate(Date lastLoginDate) {
        this.lastLoginDate = lastLoginDate;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public List<CurrentMenu> getCurrentMenuList() {
        return currentMenuList;
    }

    public void setCurrentMenuList(List<CurrentMenu> currentMenuList) {
        this.currentMenuList = currentMenuList;
    }

    public List<CurrentRole> getCurrentRoleList() {
        return currentRoleList;
    }

    public void setCurrentRoleList(List<CurrentRole> currentRoleList) {
        this.currentRoleList = currentRoleList;
    }
}